<?php
class GmBatchModel extends SzMySqlModel
{

    /**
     * @see SzAbstractModel::$ORM_NAME
     * @var string
     */
    public static $ORM_NAME = 'GmBatch';

    /**
     * Initialize the GmBatchModel.
     *
     * @return GmBatchModel
     */
    public function __construct()
    {
        $this->table = 'ft_gm_batch';
        $this->columns = array('batchId', 'listId', 'name', 'comment', 'giftType', 'createTime', 'expiryTime', 'items', 'usable', 'count', 'usedCount', );
        $this->autoIncrColumn = 0;
        $this->diffUpColumns = array();
        $this->updateFilter = array();
        $this->toArrayFilter = array();
        $this->searchColumns = array(0, 1, );
        $this->updateColumns = array(0, 1, );
        $this->jsonColumns = array(7, );
        $this->cacheColumn = 1;
        $this->shardColumn = 1;
        $this->pkColumn = 0;
        $this->deleteColumns = array(0, 1, );
        $this->tableShardCount = null;
        $this->cacheTime = 259200;

        $this->ormName = 'GmBatch';
        $this->columnCount = 11;
        $this->isList = true;
        $this->dbType = 'MySql';
        $this->voClassName = 'GmBatchVo';
        $this->voListClassName = 'GmBatchVoList';

        parent::__construct();
    }

}